/**
 * 
 */
package com.tompai.datagather.mail;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;

/**
 * @author SIKE_03
 */
public class sendMailTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// test //
		String timeFormat="yyyy-MM-dd HH:mm:ss";
		//"E yyyy.MM.dd 'at' hh:mm:ss a zzz" //
		Date dNow = new Date();
		SimpleDateFormat ft = new SimpleDateFormat(timeFormat);
		//System.out.println("Current Date:" + ft.format(dNow));
		String subject = "测试邮件:"+ft.format(dNow);
		String content = "test mail:"+ft.format(dNow);
		String to = "test@126.com";
		MailUtil.sendMail(to, subject, content);
		System.out.println("Finished!");
		
		HashMap<Long, LinkedList<String>>  textMap = new HashMap<>();
	}

}
